package cn.iocoder.yudao.module.ems.controller.admin.outbound.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* 入库信息记录 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class OutboundInfoBaseVO {

    @ApiModelProperty(value = "入库记录id", required = true)
    @NotNull(message = "入库记录id不能为空")
    private Long outboundId;

    @ApiModelProperty(value = "物料编号", required = true)
    @NotNull(message = "物料编号不能为空")
    private String itemNo;

    @ApiModelProperty(value = "批次", required = true)
    @NotNull(message = "批次不能为空")
    private String batch;

    @ApiModelProperty(value = "数量", required = true)
    @NotNull(message = "数量不能为空")
    private Integer number;

    @ApiModelProperty(value = "单价", required = true)
    @NotNull(message = "单价不能为空")
    private Long unitPrice;

}
